<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label"> 分享标题</label>
    <div class="col-lg-6">
        <present name="editor.share_title">
            <input class="form-control" name="share_title" value="{$editor['share_title']}">
        <else />
            <input class="form-control" name="share_title">
        </present>
        <p class="help-block">（如不填写，默认是文章标题）</p>
    </div>
</div>
<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label"> 分享描述</label>
    <div class="col-lg-6">
        <present name="editor.share_desc">
            <textarea class="form-control" rows="5" id="share_desc" title="请输入分享描述">{$editor['share_desc']}</textarea>
        <else />
            <textarea class="form-control" rows="5" id="share_desc" title="请输入分享描述"></textarea>
        </present>
        <p class="help-block">（如不填写，默认是文章第一段话）</p>
    </div>
</div>
<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label"> 分享链接</label>
    <div class="col-lg-6">
        <present name="editor.share_link">
            <input class="form-control" name="share_link" value="{$editor['share_link']}">
        <else />
            <input class="form-control" name="share_link">
        </present>
        <p class="help-block">（如不填写，默认是文章页）</p>
    </div>
</div>
<div class="form-group">
    <label class="col-lg-2 col-sm-2 control-label"> 分享图标</label>
    <div class="col-lg-6">
        <input type="file" class="thumbnail file" id="share_image" accept="image/gif,image/jpeg,image/png,image/jpg,image/bmp">
        <empty name="editor.share_image">
            <img style="max-width:100px;" width="100px" height="100px" src=""/>
        <else />
            <img style="max-width:100px;" width="100px" height="100px" src="{$editor['share_image']}"/>
        </empty>
    </div>
</div>